package iu.test;

import org.testng.Assert;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import utils.LogTest;

/**
 * Created by Olga on 09.06.2014.
 */
public class NegativeTestNotFound extends CommonTestSteps {

    @DataProvider
    public Object[][] products() {
        return new Object[][]{
                new Object[]{"!@#$%^&*()_"}

        };
    }

    @BeforeMethod
    public void clearCoockies() {

        driver.manage().deleteAllCookies();

    }

    @Test(dataProvider = "products")
    public void findProduct(String fakeProduct) {
        LogTest.info("-----------------Not Found Test Started");
        productNotFound(fakeProduct);

    }


}
